import Vue from 'vue';
import VueRouter from 'vue-router';
// import HomeView from '../views/HomeView.vue'

Vue.use(VueRouter);

const routes = [
    {
        path: '/',
        redirect: '/poetry'
    },
    {
        path: '/poetry',
        name: 'poetry',
        component: () => import(/* webpackChunkName: "about" */ '../views/poetry.vue')
    },
    {
        path: '/chickenSoup',
        name: 'chickenSoup',
        component: () => import(/* webpackChunkName: "about" */ '../views/chickenSoup.vue')
    },
    {
        path: '/motivational',
        name: 'motivational',
        component: () => import(/* webpackChunkName: "about" */ '../views/motivational.vue')
    }
];

const router = new VueRouter({
    routes
});

export default router;
